package com.army.stock.service;

import com.army.stock.domain.ArmyCategory;
import com.army.stock.domain.ArmyGood;
import com.javalife.common.domain.page.PaginatedArrayList;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 14/12/25.
 */
public interface ArmyGoodService {

    public PaginatedArrayList getArmyGoodPageInfo(int currentPage, int pageSize, Map<String, Object> map);

    public void addArmyGood(ArmyGood armyGood);

    public ArmyGood getArmyGoodById(Long id);

    public ArmyGood getArmyGoodByGoodCode(String goodCode);

    public void updateArmyGood(ArmyGood armyGood);

    public Integer delArmyGood(Long id);

    public Integer getMaxGoodId();

}
